define(['mCommon'], function (MCommon) {
    function Department(params) {
        this.fields=[
            {name:'code',alias:'代码'},
            {name:'name',alias:'名称'}
        ];
        this.proxy = {url:'/departments'}
        this.form ='DepartmentForm';
        this.callParent(params);
    }

    Department.extend(MCommon);

    return Department;
});
